differentiating log functions examples